﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BullshitArticalGenerator
{
    class ShitResourcesEnglish
    {
        private string[] shitTexts = {
            "Now, solving the problem about 替换 is very, very important. ",
            "We have to face a very embarrassing fact, that is, the matter of 替换 appeared in front of us. ",
            "How does 替换 happen? How does it happen if it doesn't happen? ",
            "And that's not entirely important, but the more important question is how 替换 is going to be implemented. ",
            "So with that in mind, let's look at 替换. ",
            "The key to 替换 is how 替换 is written. ",
            "We tend to think that if we get to the heart of the problem, everything else will take care of itself. ",
            "Everyone has to face these problems. In the face of such a problem, generally speaking, we must be careful to consider. ",
            "To be clear about what kind of existence 替换 is, one must seriously consider the fact that it exists. ",
            "Knowing exactly what kind of existence 替换 is is the key to solving all problems. ",
            "Personally, 替换 means a lot to me. ",
            "I have also been thoughtful, thinking about this question every day and night. ",
            "替换, what happens when it happens, what happens when it doesn't happen. ",
            "Under this kind of difficult choice, I think and think, sleep and eat restlessly. ",
            "In life, if 替换 appears, we have to consider the fact that it appears. ",
            "This fact means a lot to me and, I believe, to the world. ",
            "As long as a fact is meaningful, it must be carefully considered, because it may have a certain impact on our life, and even the world. ",
            "If a topic is particularly meaningful, it is well worth discussing and measuring. ",
            "I have reviewed a lot of relevant materials and literature and found some interesting facts. It is very helpful for 替换 to believe this fact. "
        };

        private string[] shitQuestions =
        {
            "What is the point? ",
            "Where does 替换 come from? ",
            "Why is that? How gonna we deal with it? ",
            "What are the problems we have to face? ",
            "What is the real cause of 替换? ",
            "So what is 替换? ",
            "So what shall we do? "
        };

        private string[] shitSayings = {
            "Voltaire once said, \"Nothing great can be done without great difficulties.\" ",
            "Fuller once said, \"Suffering trains some and destroys others.\" ",
            "Vincent peale once said, change your mind and you change your world.\" ",
            "Napoleon hill once said, \"Don't wait. The time is never right.\" ",
            "Seneca once said: \"Life is like a fable, its value is not in the length and length, but in the content.\" ",
            "Oprah winfrey once said, \"You are what you believe in.\" ",
            "Luckett once said: \"There can be no two lives, but many people are not good at living even one.\" ",
            "Shakespeare once said: \"man's life is short, but if despicable to live this life, it is too long.\" ",
            "Descartes once said, \"I have gained nothing by my studies, but a growing awareness of my ignorance.\" ",
            "Zola once said, \"Once you choose your way of life, be brave to stick it out and never look back.\" ",
            "Michelin once said, \"Life is a dangerous valley, which only the brave can cross.\" ",
            "Jim rohn once said, \"Either you're in charge of life, or you're in charge of life.\" ",
            "Hebel once said, \"Life is school, where a good teacher is not so much a blessing as a misfortune.\" ",
            "Gennerelle George s. barton once said, \"Take the challenge and enjoy the victory.\" ",
            "Democritus once said, \"Temperance increases pleasure and enhances enjoyment.\" ",
            "As pestalozzi once said, \"No matter what should be done today, tomorrow will be delayed.\" ",
            "Goethe once said: \"The decision of a person's life, and the fate of the whole, only in a moment.\" ",
            "Carnegie once said, \"A man who pays no attention to small things will never achieve great things.\" ",
            "Rousseau once said, \"Wasting time is a great sin.\" ",
            "Kant once said, \"Now that I have embarked on this road, nothing should hinder me from following it.\" ",
            "Sir Klaus mercer once said, \"Education costs money, and so does ignorance.\" ",
            "Voltaire once said, \"Perseverance in the great cause of the will requires unswerving spirit.\" ",
            "Abraham Lincoln once said, \"It's not the years in your life that count. It's the life in your years.\" ",
            "Han fei once said: \"Internal and external corresponding, words and deeds match.\" ",
            "Franklin once said, \"Dost thou love life? Then do not squander time, for that's the stuff life is made of.\" ",
            "Marton once said, \"Strong confidence can make ordinary people do amazing things.\" ",
            "Descartes once said, \"To read all good books is to talk to many noble men.\" ",
            "Seneca once said: \"The real life, only after the arduous struggle to achieve.\" ",
            "Ibsen once said, \"Great undertakings require determination, ability, organization and responsibility.\" ",
            "Goethe once said, \"No one knows his own power until he has tried.\" ",
            "Darwin once said: \"Dare to waste even one hour of time, he did not know how to cherish the value of life.\" ",
            "Anonymous once said, \"Be grateful for every new challenge, because it will build your will and character.\" ",
            "Ostrovsky once said: \"The common cause, the common struggle, can make people bear all the power.\" ",
            "Su shi once said: \"The ancient establishment of a major event, not only extraordinary talent, but also have indomitable will.\" ",
            "Wang yangming once said: \"So determined, for the heart of learning; To be a scholar is to aspire to something.\" ",
            "Goethe once said, \"Reading a good book is like talking with a noble man.\" ",
            "Ushensky once said: \"Learning is labor, is full of thought labor.\" ",
            "Belinsky once said, \"A good book is the most valuable treasure.\" ",
            "Benjamin Franklin once said, \"To read is easy, to think is difficult; but without one of the two, it is useless.\" ",
            "Rubajin once said, \"Reading is to build up one's mind with the help of other people's ideas.\" ",
            "Bacon once said: \"Reasonable arrangement of time, is equal to save time.\" ",
            "Turgenev once said, \"Do you want to be a happy man? I wish you would first learn to bear it.\" ",
            "Shakespeare once said, \"Who abandons time, time abandons him.\" ",
            "Schopenhauer once said, \"Ordinary people merely think how they shall spend their time; a man of talent tries to use it.\" ",
            "Beau once said, \"One failure only proves that our determination to succeed is strong enough.\" ",
            "Laroshefko once said, \"The achievement of perseverance, indomitable than when subjected to failure is more important.\" ",
            "Shakespeare once said: \"man's life is short, but if despicable to live this life, it is too long.\" ",
            "Bismarck once said, \"Failure is the final test of perseverance.\" ",
            "Ikeda daisaku once said: \"Don't avoid troubles and difficulties, stand up to challenge it, and then overcome it.\" ",
            "Shakespeare once said, \"The wisdom in the brain is like the spark in the flint. It won't come out until you hit it.\" ",
            "Bacon once said, \"Reading makes a full man; conference a ready man; and writing an exact man.\" ",
            "Spinoza once said: \"The greatest pride in the greatest self-abasement is the soul of the most weak.\" ",
            "Seneca once said, \"Courage leads to heaven, cowardice to hell.\" ",
            "Helps once said, \"Sometimes reading is a clever way to avoid thinking.\" ",
            "Descartes once said, \"The reading of all good books is like a conversation with the finest men of past centuries.\" ",
            "Deng tuo once said: \"The more no ability is more pretentious.\" ",
            "Lao tzu once said, \"He who knows others is wise; he who knows himself is wise. He who conquers is strong, and he who conquers himself is strong.\" ",
            "Goethe once said, \"A man of strong will can hold the world in his hands like a lump of clay.\" ",
            "Michael f. staley once said, \"The most challenging challenge is to improve yourself.\" ",
            "Edison once said, \"Failure is what I need. It is as valuable to me as success.\" ",
            "Russell baker once said, \"Even if a person has reached the top, still have to strive for self-improvement.\" ",
            "Ma yun once said, \"The biggest challenge and breakthrough lies in employing people, and the biggest breakthrough in employing people lies in trusting people.\" ",
            "Lei feng once said, \"We live to make others live better.\" ",
            "Bulwer once said: \"To master books, not books; Read to live, not to live.\" ",
            "Bacon once said: \"know that praise of good things is exaggerated, it will also attract people's disgust contempt and envy.\" ",
            "Mozart once said, \"Whoever works as hard as I, will be as successful as I.\" ",
            "Marx once said, \"All saving comes down to saving time.\" ",
            "Shakespeare once said: \"The fate of the will often run counter to, the final determination will be all down.\" ",
            "Carlyle once said, \"The best of all ages past is found in books.\" ",
            "Bacon once said, \"Look deep into your heart and see the miracle in yourself.\" ",
            "Romain rolland once said: \"Only the mood of complaining about the environment, into the power of progress, is the guarantee of success.\" ",
            "Confucius once said, \"Those who know are not as good as those who are good, and those who are good are not as good as those who are happy.\" ",
            "Da Vinci once said, \"Boldness and determination are no match for the quality of a weapon.\" ",
            "Schopenhauer once said, \"The will is a strong blind man leaning on the shoulder of a lame man who sees.\" ",
            "Hegel once said, \"Only those who lie in the mud will never fall into it again.\" ",
            "As premchand once said, \"When the light of hope is turned off, life suddenly becomes darkness.\" ",
            "Veron once said, \"You don't need any special talent to succeed, just do the little things you can do well.\" ",
            "Guo moruo once said, \"The determinant of genius should be diligence.\" ",
            "Locke once said, \"The trick to learning a lot is not to learn a lot at once.\" ",
            "Spain once said, \"You know where your shoes are tight.\" ",
            "La rochefoucauld once said: \"The only fault we will not correct is weakness.\" ",
            "Abraham Lincoln once said, \"I am a slow walker, but I never walk backwards.\" ",
            "As warner once said, \"Ask not the secret of success, but do with all your might what you ought to do.\" ",
            "Bismarck once said, \"There is no such thing as failure for the persevering.\" ",
            "Ab ri faraz once said, \"Learning is a precious thing, and there is no shame in absorbing it from any source.\" ",
            "Bageette once said, \"Strong faith wins the hearts of the strong and makes them stronger.\" ",
            "Charles scoble once said, \"A man can succeed at almost anything for which he has unlimited enthusiasm.\" ",
            "Beethoven once said, \"One of the great advantages of the excellent is: in the adverse and difficult experience never give up.\" ",
            "Shakespeare once said: \"Originally hopeless matter, bold attempt, often can succeed.\" ",
            "Carnegie once said, \"If we accept the worst, we have nothing to lose.\" ",
            "Smelt once said, \"Books introduce us into the best society and introduce us to the great minds of all ages.\" ",
            "Feng xuefeng once said, \"When one welcomes the light with his work, the light will soon shine on him.\" ",
            "Ziggy ziglar once said, \"If you can dream, you can achieve.\" ",
        };

        private string[] shitBeginWords =
        {
            "In that case, ",
            "So, ",
            "I think, ",
            "In general, ",
            "To sum up, ",
            "So what, ",
            "After the above discussion, "
        };

        private string[] shitBeforeSayings =
        {
            "once said",
            "once said inadvertently",
            "once said a famous saying",
            "once mentioned",
            "once said a rich philosophy"
        };

        private string[] shitAfterSayings =
        {
            "This does not prohibit me to ponder. ",
            "With that in mind, we need to take a closer look at this question. ",
            "That inspired me. ",
            "I hope you will appreciate this. ",
            "It was a short sentence, but it struck me. ",
            "The sentence may seem simple, but the gloom in it makes people think deeply. ",
            "This sentence takes us to a new dimension to think about this question. ",
            "This seemed to answer my question. ",
        };

        private ArrayList numTextsList = new ArrayList();
        private ArrayList numSayingsList = new ArrayList();
        private ArrayList numQuestionsList = new ArrayList();
        private ArrayList numBeginWordsList = new ArrayList();
        private ArrayList numBeforeSayingWordsList = new ArrayList();
        private ArrayList numAfterSayingsList = new ArrayList();

        public string GetShitText()
        {
            if (numTextsList.Count == shitTexts.Count() - 1)
            {
                numTextsList = new ArrayList();
            }

            Random r = new Random();
            while (true)
            {
                int randomNum = r.Next(0, shitTexts.Count() - 1);
                if (numTextsList.Contains(randomNum))
                {
                    continue;
                }
                else
                {
                    numTextsList.Add(randomNum);
                    return shitTexts[randomNum];
                }
            }
        }

        public string GetShitSaying()
        {
            if (numSayingsList.Count == shitSayings.Count() - 1)
            {
                numSayingsList = new ArrayList();
            }

            Random r = new Random();
            while (true)
            {
                int randomNum = r.Next(0, shitSayings.Count() - 1);
                if (numSayingsList.Contains(randomNum))
                {
                    continue;
                }
                else
                {
                    numSayingsList.Add(randomNum);
                    return shitSayings[randomNum];
                }
            }
        }

        public string GetShitQuestion()
        {
            if (numQuestionsList.Count == shitQuestions.Count() - 1)
            {
                numQuestionsList = new ArrayList();
            }

            Random r = new Random();
            while (true)
            {
                int randomNum = r.Next(0, shitQuestions.Count() - 1);
                if (numQuestionsList.Contains(randomNum))
                {
                    continue;
                }
                else
                {
                    numQuestionsList.Add(randomNum);
                    return shitQuestions[randomNum];
                }
            }
        }

        public string GetShitBeginWords()
        {
            if (numBeginWordsList.Count == shitBeginWords.Count() - 1)
            {
                numBeginWordsList = new ArrayList();
            }

            Random r = new Random();
            while (true)
            {
                int randomNum = r.Next(0, shitBeginWords.Count() - 1);
                if (numBeginWordsList.Contains(randomNum))
                {
                    continue;
                }
                else
                {
                    numBeginWordsList.Add(randomNum);
                    return shitBeginWords[randomNum];
                }
            }
        }

        public string GetShitBeforeSayingWords()
        {
            if (numBeforeSayingWordsList.Count == shitBeforeSayings.Count() - 1)
            {
                numBeforeSayingWordsList = new ArrayList();
            }

            Random r = new Random();
            while (true)
            {
                int randomNum = r.Next(0, shitBeforeSayings.Count() - 1);
                if (numBeforeSayingWordsList.Contains(randomNum))
                {
                    continue;
                }
                else
                {
                    numBeforeSayingWordsList.Add(randomNum);
                    return shitBeforeSayings[randomNum];
                }
            }
        }

        public string GetShitAfterSayingWords()
        {
            if (numAfterSayingsList.Count == shitAfterSayings.Count() - 1)
            {
                numAfterSayingsList = new ArrayList();
            }

            Random r = new Random();
            while (true)
            {
                int randomNum = r.Next(0, shitAfterSayings.Count() - 1);
                if (numAfterSayingsList.Contains(randomNum))
                {
                    continue;
                }
                else
                {
                    numAfterSayingsList.Add(randomNum);
                    return shitAfterSayings[randomNum];
                }
            }
        }
    }
}
